﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using APIBetaSeries.Managers;
using APIBetaSeries.Models.Member;

namespace APIBetaSeries
{
    public class Member
    {
        public ResponseMember Connect(String login, String password, Boolean isHashed)
        {
            return MemberManager.Instance.Connect(login, password, isHashed);
        }

        public ResponseMember Disconnect(String token)
        {
            return MemberManager.Instance.Disconnect(token);
        }

        public ResponseMember IsActive(String token)
        {
            return MemberManager.Instance.IsActive(token);
        }
    }
}
